package com.example.train.mapper;

import com.example.train.model.SysRolePermissionRelation;

import java.util.List;

public interface SysRolePermissionRelationMapper {

    List<SysRolePermissionRelation> selectByPermissionId(long id);

    int deleteByPermissionId(long id);

    int deleteByRoleId(long id);

    int deleteById(long id);

    int insert(List<SysRolePermissionRelation> list);
}
